<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../vue文件/vue.js"></script>
</head>
<body>
    <div id="app">
         <input type="button" value="按钮" title="mytitle2222">
         <input type="button" value="按钮2" v-bind:title="mytitle">
         <input type="button" value="按钮2" :title="mytitle">
         <input type="button" value="按钮2" :title="mytitle + '123'">
       

    </div>
    <!-- v-bind: 可以简写成 :  也可以利用 +  添加字符串 -->
</body>
<script>
    let vm = new Vue({
        el:"#app",
        data:{
            mytitle:'这是一个自定义的title'
        }
    })
</script>
</html>